home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Applications / µSim 1.0.5 / FabLibsƒ / GeneralUsageUSA.r < prev    next >
Encoding:
Text File  |  1995-11-28  |  9.6 KB  |  435 lines  |  [TEXT/CWIE]

  1. /*
  2. Copyright © 1993-1995 by Fabrizio Oddone
  3. ••• ••• ••• ••• ••• ••• ••• ••• ••• •••
  4. This source code is distributed as freeware: you can copy, exchange, modify this
  5. code as you wish. You may include this code in any kind of application: freeware,
  6. shareware, or commercial, provided that full credits are given.
  7. You may not sell or distribute this code for profit.
  8. */
  9. #include    "FabLibResIDs.h"
  10.  
  11. #define NumTextLines        2
  12.  
  13. resource 'ALRT' (kALRT_GENERICERROR, purgeable) {
  14.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  15.     kALRT_GENERICERROR,
  16.     {    /* array: 4 elements */
  17.         /* [1] */
  18.         OK, visible, sound2,
  19.         /* [2] */
  20.         OK, visible, sound2,
  21.         /* [3] */
  22.         OK, visible, sound2,
  23.         /* [4] */
  24.         OK, visible, sound2
  25.     },
  26.     alertPositionMainScreen
  27. };
  28.  
  29. resource 'DITL' (kALRT_GENERICERROR, purgeable) {
  30.     {    /* array DITLarray: 2 elements */
  31.         /* [1] */
  32.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  33.         Button {
  34.             enabled,
  35.             "OK"
  36.         },
  37.         /* [2] */
  38.         {TextTop, TextLeft, TextBottom, TextRight},
  39.         StaticText {
  40.             disabled,
  41.             "An error ^0 has occurred; I hope you have a list of "
  42.             "error codes."
  43.         }
  44.     }
  45. };
  46.  
  47. #define NumTextLines        2
  48.  
  49. resource 'ALRT' (kALRT_OLDSYSTEM, purgeable) {
  50.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  51.     kALRT_OLDSYSTEM,
  52.     {    /* array: 4 elements */
  53.         /* [1] */
  54.         OK, visible, sound1,
  55.         /* [2] */
  56.         OK, visible, sound1,
  57.         /* [3] */
  58.         OK, visible, sound1,
  59.         /* [4] */
  60.         OK, visible, sound1
  61.     },
  62.     alertPositionMainScreen
  63. };
  64.  
  65. resource 'DITL' (kALRT_OLDSYSTEM, purgeable) {
  66.     {    /* array DITLarray: 3 elements */
  67.         /* [1] */
  68.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  69.         Button {
  70.             enabled,
  71.             "Quit"
  72.         },
  73.         /* [2] */
  74.         {TextTop, TextLeft, TextBottom, TextRight},
  75.         StaticText {
  76.             disabled,
  77.             "Sorry, this application needs System 7.0 or later."
  78.         }
  79.     }
  80. };
  81.  
  82. #define NumTextLines        3
  83.  
  84. resource 'ALRT' (kALRT_AEPROCESSERR, purgeable) {
  85.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  86.     kALRT_AEPROCESSERR,
  87.     {    /* array: 4 elements */
  88.         /* [1] */
  89.         OK, visible, sound2,
  90.         /* [2] */
  91.         OK, visible, sound2,
  92.         /* [3] */
  93.         OK, visible, sound2,
  94.         /* [4] */
  95.         OK, visible, sound2
  96.     },
  97.     alertPositionMainScreen
  98. };
  99.  
  100. resource 'DITL' (kALRT_AEPROCESSERR, purgeable) {
  101.     {    /* array DITLarray: 2 elements */
  102.         /* [1] */
  103.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  104.         Button {
  105.             enabled,
  106.             "OK"
  107.         },
  108.         /* [2] */
  109.         {TextTop, TextLeft, TextBottom, TextRight},
  110.         StaticText {
  111.             disabled,
  112.             "An error ^0 has occurred while processing an Apple Event; I "
  113.             "hope you have a list of error codes."
  114.         }
  115.     }
  116. };
  117.  
  118. #define NumTextLines        2
  119.  
  120. resource 'ALRT' (kALRT_INITWINDSERROR, purgeable) {
  121.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  122.     kALRT_INITWINDSERROR,
  123.     {    /* array: 4 elements */
  124.         /* [1] */
  125.         OK, visible, sound3,
  126.         /* [2] */
  127.         OK, visible, sound3,
  128.         /* [3] */
  129.         OK, visible, sound3,
  130.         /* [4] */
  131.         OK, visible, sound3
  132.     },
  133.     alertPositionMainScreen
  134. };
  135.  
  136. resource 'DITL' (kALRT_INITWINDSERROR, purgeable) {
  137.     {    /* array DITLarray: 2 elements */
  138.         /* [1] */
  139.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  140.         Button {
  141.             enabled,
  142.             "Quit"
  143.         },
  144.         /* [2] */
  145.         {TextTop, TextLeft, TextBottom, TextRight},
  146.         StaticText {
  147.             disabled,
  148.             "Sorry, an error ^0 has occurred while initializing my windows."
  149.         }
  150.     }
  151. };
  152.  
  153. #define NumTextLines        2
  154.  
  155. resource 'ALRT' (kALRT_AEINSTALLEVTERR, purgeable) {
  156.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  157.     kALRT_AEINSTALLEVTERR,
  158.     {    /* array: 4 elements */
  159.         /* [1] */
  160.         OK, visible, sound3,
  161.         /* [2] */
  162.         OK, visible, sound3,
  163.         /* [3] */
  164.         OK, visible, sound3,
  165.         /* [4] */
  166.         OK, visible, sound3
  167.     },
  168.     alertPositionMainScreen
  169. };
  170.  
  171. resource 'DITL' (kALRT_AEINSTALLEVTERR, purgeable) {
  172.     {    /* array DITLarray: 2 elements */
  173.         /* [1] */
  174.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  175.         Button {
  176.             enabled,
  177.             "Quit"
  178.         },
  179.         /* [2] */
  180.         {TextTop, TextLeft, TextBottom, TextRight},
  181.         StaticText {
  182.             disabled,
  183.             "Sorry, an error ^0 has occurred while installing the Apple Event handlers."
  184.         }
  185.     }
  186. };
  187.  
  188. #define NumTextLines        2
  189.  
  190. resource 'ALRT' (kALRT_PLEASEDISMISSMOVABLEMODAL, purgeable) {
  191.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  192.     kALRT_PLEASEDISMISSMOVABLEMODAL,
  193.     {    /* array: 4 elements */
  194.         /* [1] */
  195.         OK, visible, silent,
  196.         /* [2] */
  197.         OK, visible, silent,
  198.         /* [3] */
  199.         OK, visible, silent,
  200.         /* [4] */
  201.         OK, visible, silent
  202.     },
  203.     alertPositionParentWindowScreen
  204. };
  205.  
  206. resource 'DITL' (kALRT_PLEASEDISMISSMOVABLEMODAL, purgeable) {
  207.     {    /* array DITLarray: 2 elements */
  208.         /* [1] */
  209.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  210.         Button {
  211.             enabled,
  212.             "OK"
  213.         },
  214.         /* [2] */
  215.         {TextTop, TextLeft, TextBottom, TextRight},
  216.         StaticText {
  217.             disabled,
  218.             "Sorry, you cannot do this now. "
  219.             "Please dismiss the dialog box first."
  220.         }
  221.     }
  222. };
  223.  
  224. #define NumTextLines        4
  225.  
  226. resource 'ALRT' (kALRT_DISMISSORDRAGANDDROP, purgeable) {
  227.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  228.     kALRT_DISMISSORDRAGANDDROP,
  229.     {    /* array: 4 elements */
  230.         /* [1] */
  231.         OK, visible, silent,
  232.         /* [2] */
  233.         OK, visible, silent,
  234.         /* [3] */
  235.         OK, visible, silent,
  236.         /* [4] */
  237.         OK, visible, silent
  238.     },
  239.     alertPositionParentWindowScreen
  240. };
  241.  
  242. resource 'DITL' (kALRT_DISMISSORDRAGANDDROP, purgeable) {
  243.     {    /* array DITLarray: 2 elements */
  244.         /* [1] */
  245.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  246.         Button {
  247.             enabled,
  248.             "OK"
  249.         },
  250.         /* [2] */
  251.         {TextTop, TextLeft, TextBottom, TextRight},
  252.         StaticText {
  253.             disabled,
  254.             "Sorry, you cannot do this now. "
  255.             "Please dismiss the dialog box first, "
  256.             "or try dragging the item onto the frontmost window."
  257.         }
  258.     }
  259. };
  260.  
  261. #define NumTextLines        4
  262.  
  263. resource 'ALRT' (kALRT_INTERNETCONFIG, purgeable) {
  264.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  265.     kALRT_INTERNETCONFIG,
  266.     {    /* array: 4 elements */
  267.         /* [1] */
  268.         OK, visible, sound1,
  269.         /* [2] */
  270.         OK, visible, sound1,
  271.         /* [3] */
  272.         OK, visible, sound1,
  273.         /* [4] */
  274.         OK, visible, sound1
  275.     },
  276.     alertPositionMainScreen
  277. };
  278.  
  279. resource 'DITL' (kALRT_INTERNETCONFIG, purgeable) {
  280.     {    /* array DITLarray: 2 elements */
  281.         /* [1] */
  282.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  283.         Button {
  284.             enabled,
  285.             "OK"
  286.         },
  287.         /* [2] */
  288.         {TextTop, TextLeft, TextBottom, TextRight},
  289.         StaticText {
  290.             disabled,
  291.             "There is a problem with InternetConfig (error ^0). "
  292.             "Please make sure that InternetConfig 1.1 or later is properly installed."
  293.         }
  294.     }
  295. };
  296.  
  297. #define NumTextLines        5
  298.  
  299. resource 'ALRT' (kALRT_ICMISSINGHELPER, purgeable) {
  300.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  301.     kALRT_ICMISSINGHELPER,
  302.     {    /* array: 4 elements */
  303.         /* [1] */
  304.         OK, visible, sound1,
  305.         /* [2] */
  306.         OK, visible, sound1,
  307.         /* [3] */
  308.         OK, visible, sound1,
  309.         /* [4] */
  310.         OK, visible, sound1
  311.     },
  312.     alertPositionMainScreen
  313. };
  314.  
  315. resource 'DITL' (kALRT_ICMISSINGHELPER, purgeable) {
  316.     {    /* array DITLarray: 2 elements */
  317.         /* [1] */
  318.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  319.         Button {
  320.             enabled,
  321.             "OK"
  322.         },
  323.         /* [3] */
  324.         {TextTop, TextLeft, TextBottom, TextRight},
  325.         StaticText {
  326.             disabled,
  327.             "There is a problem with InternetConfig (1.1 or later is needed). "
  328.             "You may want to launch the InternetConfig application, "
  329.             "and check whether a helper application for this service is set."
  330.         }
  331.     }
  332. };
  333.  
  334. #define NumTextLines        7
  335.  
  336. resource 'ALRT' (kALRT_SEPARATEREGISTERAPP, purgeable) {
  337.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  338.     kALRT_SEPARATEREGISTERAPP,
  339.     {    /* array: 4 elements */
  340.         /* [1] */
  341.         OK, visible, silent,
  342.         /* [2] */
  343.         OK, visible, silent,
  344.         /* [3] */
  345.         OK, visible, silent,
  346.         /* [4] */
  347.         OK, visible, silent
  348.     },
  349.     alertPositionMainScreen
  350. };
  351.  
  352. resource 'DITL' (kALRT_SEPARATEREGISTERAPP, purgeable) {
  353.     {    /* array DITLarray: 2 elements */
  354.         /* [1] */
  355.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  356.         Button {
  357.             enabled,
  358.             "OK"
  359.         },
  360.         /* [2] */
  361.         {TextTop, TextLeft, TextBottom, TextRight},
  362.         StaticText {
  363.             disabled,
  364.             "This software lets you fill a form, "
  365.             "for payment directly to me; "
  366.             "you may want to use the separate Register application, "
  367.             "for payment through the Kagi Shareware system. "
  368.             "If you found this application alone, "
  369.             "instead of the complete package, complain."
  370.         }
  371.     }
  372. };
  373.  
  374. #define NumTextLines        4
  375.  
  376. resource 'ALRT' (kALRT_SHAREWAREREMINDER, purgeable) {
  377.     {AlertTop, AlertLeft, AlertBottom, AlertRight},
  378.     kALRT_SHAREWAREREMINDER,
  379.     {    /* array: 4 elements */
  380.         /* [1] */
  381.         OK, visible, silent,
  382.         /* [2] */
  383.         OK, visible, silent,
  384.         /* [3] */
  385.         OK, visible, silent,
  386.         /* [4] */
  387.         OK, visible, silent
  388.     },
  389.     alertPositionMainScreen
  390. };
  391.  
  392. resource 'DITL' (kALRT_SHAREWAREREMINDER, purgeable) {
  393.     {    /* array DITLarray: 2 elements */
  394.         /* [1] */
  395.         {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
  396.         Button {
  397.             enabled,
  398.             "OK"
  399.         },
  400.         /* [2] */
  401.         {TextTop, TextLeft, TextBottom, TextRight},
  402.         StaticText {
  403.             disabled,
  404.             "This software is shareware, which means you can try it before you buy it. "
  405.             "You used it ^0 times, so please remember to pay the fee."
  406.         }
  407.     }
  408. };
  409.  
  410.  
  411. resource 'STR#' (1200, purgeable) {
  412.     {
  413.         /* [1] bug report */
  414.             "Copies a standard bug report form; "
  415.             "paste it into a text document or into an e-mail message.",
  416.         /* [2] e-mail */
  417.             "Copies the author’s e-mail address; "
  418.             "paste it into your favorite electronic mail application.",
  419.         /* [3] WWW */
  420.             "Copies the author’s World Wide Web Home Page address "
  421.             "(in the Universal Resource Locator style). "
  422.             "Use it with applications such as MacWeb, Mosaic, NetScape.",
  423.         /* [4] e-mail IC */
  424.             "Launches your e-mail application "
  425.             "so that you can send a message to the author; "
  426.             "this feature needs InternetConfig 1.1 or later.",
  427.         /* [5] WWW IC */
  428.             "Launches your World Wide Web browser "
  429.             "so that the author’s page is automatically shown; "
  430.             "this feature needs InternetConfig 1.1 or later, "
  431.             "and an active Internet connection.",
  432.     }
  433. };
  434.  
  435.